package ooday01;
//构造方法调用
public class ConsDemo {
    public static void main(String[] args) {
        Student zs = new Student();//调用无参构造方法,为null
        Student ls = new Student("李四",25);//调用两个参构造
        Student ww = new Student("王五",26,"jsd2302","00003");//调用4个参构造

        zs.sayHi();
        ls.study();
        ww.sayHi();
    }
}